package com.feicheng.lanniao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * @Author tianchunlei
 * @Des //图片类
 * @Date 2021/9/24
 **/
@TableName(value = "sys_image")
public class SysImage implements Serializable {


    @TableId(value = "id",type = IdType.AUTO)
     private Integer id;  //主键id

     private Integer type; //图片类型  1车 2房

     private Integer number; //允许上传的图片数量

    public Integer getId() {
        return id;
    }

    public Integer getType() {
        return type;
    }

    public Integer getNumber() {
        return number;
    }

    public SysImage(Integer id, Integer type, Integer number) {
        this.id = id;
        this.type = type;
        this.number = number;
    }

    public SysImage() {
    }

    @Override
    public String toString() {
        return "SysImage{" +
                "id=" + id +
                ", type=" + type +
                ", number=" + number +
                '}';
    }
}
